<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>角色权限列表展示</title>
    <link rel="stylesheet" href="//unpkg.com/layui@2.6.8/dist/css/layui.css">

</head>
<body>
<div class="layui-form">
    <table class="layui-table">
        <colgroup>
            <col width="150">
            <col width="150">
            <col width="200">
            <col>
        </colgroup>
        <thead>
        <tr>
            <th>编号</th>
            <th>权限名称</th>
            <th>控制器名称</th>
            <th>方法名称</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        {foreach $res as $v}
        <tr>
            <td>{$v.id}</td>
            <td>{$v.n_name}</td>
            <td>{$v.c_name}</td>
            <td>{$v.f_name}</td>
            <td><a href="">修改</a>||<a href="">删除</a></td>
        </tr>
        {/foreach}
        </tbody>
    </table>
</div>
</body>
</html>